$OpenBSD: patch-ext_odbc_config_m4,v 1.3 2015/04/25 16:20:29 robert Exp $

don't link php binary with iodbc

--- ext/odbc/config.m4.orig.port	Wed Apr 15 20:05:57 2015
+++ ext/odbc/config.m4	Sat Apr 25 18:10:11 2015
@@ -396,7 +396,6 @@ PHP_ARG_WITH(iodbc,,
       AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     fi 
     if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libiodbc ; then
-      PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/$PHP_LIBDIR)
       ODBC_TYPE=iodbc
       ODBC_INCLUDE=`$PKG_CONFIG --cflags-only-I libiodbc`
       ODBC_LFLAGS=`$PKG_CONFIG --libs-only-L libiodbc`
